Transmitting multi-destination packets in overlay networks

ABSTRACT

In an embodiment, a network adapter obtains tunneling endpoint information for each virtual switch of a plurality of virtual switches of a multi-destination group. The network adapter encapsulates each of a plurality of replicated multi-destination packets corresponding to respective virtual switches of the plurality of virtual switches with a header specific to a respective tunneling protocol identified in the tunneling endpoint information obtained for the respective virtual switch. The network adapter transmits each encapsulated multi-destination packet to a respective receiver hosted on the respective virtual switch corresponding to the encapsulated multi-destination packet, wherein the respective virtual switch determines a destination port for the encapsulated multi-destination packet on the respective virtual switch by identifying the multi-destination group, determined from the encapsulated multi-destination packet, in a port list on the respective virtual switch.

BACKGROUND

The present invention relates generally to the field of datatransmissions, and more particularly to transmitting multi-destinationpackets in overlay networks.

A data processing environment comprises a variety of hardware, software,and firmware networking components. A physical network, also called anunderlay, is a network defined using such components.

Techniques are available presently to construct a logical network, alsoknown as a software defined network (SDN) overlay (hereinafter“overlay,” “overlay network,” or “OVN”), from such networkingcomponents. Essentially, networking components are abstracted intocorresponding logical or virtual representations, and the abstractionsare used to define the overlay. In other words, an overlay is a logicalnetwork formed and operated using logical representations of underlyingnetworking components.

Physical networks usually exist within the demarcated boundary of thedata processing environment whose networking components are utilized inthe physical network. Unlike a physical network, an overlay can bedesigned to span across one or more data processing environment. Forexample, while a physical network may be contained within a datacenter,an overlay may span across one or more datacenters.

As an example, a logical representation of a networking gateway canparticipate in an overlay, such that a function attributed to thelogical representation of the networking gateway in the overlay isactually performed by the underlying networking gateway component in theunderlay.

In an overlay, because the actual networking components that perform thenetworking functions are abstracted into logical entities representingthe networking functionality offered by those components and not theactual implementations of those functionalities, something is needed todirect that networking functionality into a functioning logical network.An SDN controller is a component that manages and operates the logicalnetworking components within an overlay.

A virtual machine (VM) comprises virtualized representations of realhardware, software, and firmware components available in a dataprocessing system. The data processing system can have any number of VMsconfigured thereon, and utilizing any number of virtualized componentstherein. The data processing system is also referred to as a computingnode, a compute node, a node, or a host.

In large scale data processing environments, such as in a data center,thousands of VMs can be operating on a host at any given time, andhundreds if not thousands of such hosts may be operational in the datacenter at the time. A virtualized data processing environment such asthe described data center is often referred to as a “cloud” thatprovides computing resources and computing services to several clientson an as-needed basis.

A virtual switch, sometimes herein referred to as a vSwitch, is asoftware application that allows communication between VMs. A virtualswitch is completely virtual and can connect to a network interface card(NIC). A virtual switch merges physical switches into a single logicalswitch. This helps to increase bandwidth and create an active meshbetween servers and switches. A virtual switch may be embedded into aserver's installed software or included in a server's hardware as partof its firmware.

Network virtualization by defining overlay networks is an emerging trendin the management and operation of data centers and cloud computingenvironments. One of the goals of network virtualization is to simplifythe network provisioning in multi-tenant data processing environments,as well as dedicated customer data processing environments.

Unicasting is a method of sending data point-to-point, to wit, from asingle sender to a single receiver. Broadcasting is a method of sendingthe same data to all possible destinations. Another multi-destinationdistribution method, multicasting, sends the same data only tointerested destinations called receivers by using special addressassignments. Internet Protocol (IP) multicast is the process ofmulticasting IP packets to several receivers in a single transmission ofthe IP packet. IP multicast is a popular technique used to help conservebandwidth in the data center and reduce the load on servers.

IP multicast operating in an overlay network is called overlaymulticast. Overlay multicast can be achieved in different ways,depending on the support for multicasting provided in the underlaynetwork. Multicast based overlay multicast requires the underlay networkto provide support for multicasting. Multicasting in underlay networksis not presently prevalent in data processing environments.Multi-unicast based overlay multicast is a method to transmit multicastpackets in the overlay network where the underlay supports unicastingbut does not support multicasting.

SUMMARY

In one embodiment, a method includes obtaining, by a hardware networkadapter, tunneling endpoint information for each virtual switch of aplurality of virtual switches of a multi-destination group. The methodfurther includes, encapsulating, by the network adapter, each of aplurality of replicated multi-destination packets corresponding torespective virtual switches of the plurality of virtual switches with aheader specific to a respective tunneling protocol identified in thetunneling endpoint information obtained for the respective virtualswitch. The method further includes transmitting, by the networkadapter, each encapsulated multi-destination packet to a respectivereceiver hosted on the respective virtual switch corresponding to theencapsulated multi-destination packet, wherein the respective virtualswitch determines a destination port for the encapsulatedmulti-destination packet on the respective virtual switch by identifyingthe multi-destination group, determined from the encapsulatedmulti-destination packet, in a port list on the respective virtualswitch.

In another embodiment, a computer program product stores programinstructions executable by a processor of a network adapter to implementa method. The method includes obtaining, by a hardware network adapter,tunneling endpoint information for each virtual switch of a plurality ofvirtual switches of a multi-destination group. The method furtherincludes, encapsulating, by the network adapter, each of a plurality ofreplicated multi-destination packets corresponding to respective virtualswitches of the plurality of virtual switches with a header specific toa respective tunneling protocol identified in the tunneling endpointinformation obtained for the respective virtual switch. The methodfurther includes transmitting, by the network adapter, each encapsulatedmulti-destination packet to a respective receiver hosted on therespective virtual switch corresponding to the encapsulatedmulti-destination packet, wherein the respective virtual switchdetermines a destination port for the encapsulated multi-destinationpacket on the respective virtual switch by identifying themulti-destination group, determined from the encapsulatedmulti-destination packet, in a port list on the respective virtualswitch.

In another embodiment, a network adapter includes a processor, a memory,and program instructions stored in the memory for execution by theprocessor to implement a method. The method includes obtaining, by ahardware network adapter, tunneling endpoint information for eachvirtual switch of a plurality of virtual switches of a multi-destinationgroup. The method further includes, encapsulating, by the networkadapter, each of a plurality of replicated multi-destination packetscorresponding to respective virtual switches of the plurality of virtualswitches with a header specific to a respective tunneling protocolidentified in the tunneling endpoint information obtained for therespective virtual switch. The method further includes transmitting, bythe network adapter, each encapsulated multi-destination packet to arespective receiver hosted on the respective virtual switchcorresponding to the encapsulated multi-destination packet, wherein therespective virtual switch determines a destination port for theencapsulated multi-destination packet on the respective virtual switchby identifying the multi-destination group, determined from theencapsulated multi-destination packet, in a port list on the respectivevirtual switch.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a functional block diagram illustrating a multi-destinationpacket processing environment, in an embodiment in accordance with thepresent invention.

FIG. 2 is a functional block diagram illustrating a network adapter inan embodiment in accordance with the present invention.

FIG. 3 is a flowchart depicting operational steps of adding and removingvirtual switches to a multi-destination group receiver list within themulti-destination packet processing environment of FIG. 1, in anembodiment in accordance with the present invention.

FIG. 4 is a flowchart depicting operational steps for transmitting amulti-destination packet to a multi-destination group within themulti-destination packet processing environment of FIG. 1, in anembodiment in accordance with the present invention.

FIG. 5 depicts a block diagram of a server computer, in an embodiment inaccordance with the present invention.

DETAILED DESCRIPTION

Embodiments in accordance with the present invention recognizesignificant advantages of network adapters that maintain maps ofmulti-destination groups and tunneling endpoints (TEPs), provideapplication program interfaces (APIs) to manipulate such maps, andhandle head-end-replication for multi-destination packets based onoffload instructions provided by a software based data path. Embodimentsdescribed herein relieve a virtual switch from creating one-to-manyunicast packets for multi-destination packets, and performing checksumsand encapsulations for each of the newly created packets. Embodimentsdescribed herein eliminate the limitations of existing approaches forhandling multi-destination packets at a virtual switch software baseddata path.

Embodiments described herein recognize that multi-destination traffichandling at OVN TEPs is a central processing unit (CPU) expensiveoperation. Some implementations of multi-destination packet handling atOVN TEPs have dependencies on underlay network support for handlingmulti-destination packets, which poses significant restrictions on thedeployability of such OVN solutions because required underlay networksupport to handle multi-destination packets is not always present in acustomer premises. Customer premises equipment (CPE) is telephone orother service provider equipment that is located on the customer'spremises (physical location) rather than on the provider's premises orin between. Telephone handsets, cable TV set-top boxes, and digitalsubscriber line (DSL) routers are examples of CPE. Alternatively, OVNTEPs use a repetitive unicast approach to handle multi-destinationpacket delivery. Embodiments described herein recognize that such anapproach is CPU intensive, latency prone and has significant scalingissues because packet formation, checksum and encapsulation work isperformed in a software-based data path. Embodiments described hereinfurther recognize that such an implementation also suffers frominconsistent multi destination packet handling performance and impactshandling of normal unicast packets because typical handling ofrepetitive unicast of multi-destination packets involves creatingone-to-many unicast packets for each multi-destination packet ahead ofother unicast packets destined for remote TEPs. This problem becomeseven more severe when an OVN TEP has a single physical connection to anunderlay network.

Embodiments in accordance with the present invention will now bedescribed in detail with reference to the Figures. FIG. 1 is afunctional block diagram illustrating a multi-destination packetprocessing environment, in an embodiment in accordance with the presentinvention.

Multi-destination packet processing environment 100 includes a server102, a network controller 122, a server 124, and a server 142, allinterconnected over a network 120. Servers 102, 124, and 142 may each beany electronic device or combination of electronic devices capable ofprocessing program instructions and receiving and sending data, forexample, over network 120. In some embodiments, servers 102, 124, and142 may be any of a laptop computer, a tablet computer, a netbookcomputer, a personal computer (PC), a desktop computer, a servercomputer, a personal digital assistant (PDA), or smart phone. In otherembodiments, servers 102, 124, and 142 may each represent servercomputing systems utilizing multiple computers as a server system, suchas in a distributed computing environment.

Server 102 includes a RAM 104, a CPU 106, a persistent storage 108, a VM112, a VM 114, a virtual switch 116, and a network adapter 118.Persistent storage 108 may, for example, be a hard disk drive.Alternatively, or in addition to a magnetic hard disk drive, persistentstorage 108 may include a solid state hard drive, a semiconductorstorage device, read-only memory (ROM), erasable programmable read-onlymemory (EPROM), flash memory, or any other computer-readable storagemedium that is capable of storing program instructions or digitalinformation. Persistent storage 108 stores operating system software, aswell as software that enables server 102 to communicate with networkcontroller 122, server 124, and server 142 over a data connection onnetwork 120. Multi-destination software 110 (sometimes abbreviated as“mdest software 110”) is also stored in persistent storage 108.Multi-destination software 110 is software that enables virtual switch116 to communicate with network controller 122, VM 112 and VM 114 onserver 102; a VM 134, a VM 136, and a virtual switch 138 on server 124;and a VM 152, a VM 154, and a virtual switch 156 on server 142 overnetwork 120. Multi-destination software 110 also enables networkcontroller 122 to provision virtual switches 116, 138, and 156 withmulti-destination group receiver lists for a given multi-destinationgroup.

VM 112 communicates with VM 134 and VM 152 through virtual switch 116,virtual switch 138, and virtual switch 156 using an overlay virtualnetwork on network 120. VM 114 communicates with VM 136 and VM 154through virtual switch 116, virtual switch 138, and virtual switch 156using a separate overlay virtual network on network 120. Virtual switch116 is used by VM 112 and VM 114 to communicate with nodes on theirrespective overlay network on network 120. In one embodiment, there maybe many virtual machines and virtual overlay networks existing inmulti-destination packet processing environment 100. In otherembodiments, network controller 122 may reside on a server inmulti-destination packet processing environment 100, or as a standalonecomputer connected to network 120.

Network adapter 118 is a computer hardware component that connectsserver 102 to network 120. Network adapter 118 allows server 102 tocommunicate with network controller 122, server 124, and server 142.Network adapter 118 also includes offload capabilities which allownetwork adapter 118 to maintain maps of multi-destination groups andTEPs, provides application program interfaces (APIs) to manipulate suchmaps, and handles head-end-replication for multi-destination packetsbased on offload instructions provided by a software based data path.Network adapter 118 also enables VM 112 to communicate with VM 134 andVM 152 through virtual switch 116, virtual switch 138, and virtualswitch 156 using an overlay virtual network on network 120. Networkadapter 118 also enables VM 114 to communicate with VM 136 and VM 154through virtual switch 116, virtual switch 138, and virtual switch 156using a separate overlay virtual network on network 120.

In FIG. 1, network 120 is shown as the interconnecting fabric betweenserver 102, network controller 122, server 124, and server 142. Inpractice, network 120 may be any viable data transport network. Network120 can be, for example, a local area network (LAN), a wide area network(WAN) such as the Internet, or a combination of the two, and can includewired, wireless, or fiber optic connections. In general, network 120 canbe any combination of connections and protocols that will supportcommunications between server 102, network controller 122, server 124,and server 142 in accordance with an embodiment of the invention.

Network Controller 122 is an SDN controller that has visibility of endto end provisioning of virtual networks, virtual switches, virtualendpoints (multi-destination senders and receivers). Network Controller122 is responsible for generating, and provisioning, themulti-destination group receivers list within a given multi-destinationgroup, e.g., VM 112, VM 134 and VM 152, to the virtual switch, e.g.,virtual switch 156, that has the multi-destination sender for the givenmulti-destination group. In one embodiment, network controller 122 maybe a separate computer system, server, or hardware in multi-destinationpacket processing environment 100. In another embodiment, networkcontroller 122 may be part of server 102, server 124, or server 142.Some embodiments may include more than one network controller inmulti-destination packet processing environment 100 to, for example,serve as a backup to network controller 122.

Server 124 includes a RAM 126, a CPU 128, a persistent storage 130, VM134, VM 136, virtual switch, and a network adapter 140. Persistentstorage 130 contains mdest software 132 analogous to mdest software 110.Network adapter 140 is a computer hardware component that connectsserver 124 to network 120. Network adapter 140 allows server 124 tocommunicate with network controller 122, server 102, and server 142.Network adapter 140 also includes offload capabilities which allownetwork adapter 140 to maintain maps of multi-destination groups andTEPs, provides application program interfaces (APIs) to manipulate suchmaps, and handles head-end-replication for multi-destination packetsbased on offload instructions provided by a software based data path.Network adapter 140 also enables VM 134 to communicate with VM 112 andVM 152 through virtual switch 138, virtual switch 116, and virtualswitch 156 using an overlay virtual network on network 120. Networkadapter 140 also enables VM 136 to communicate with VM 114 and VM 154through virtual switch 138, virtual switch 116, and virtual switch 156using a separate overlay virtual network on network 120.

Server 142 includes a RAM 144, a CPU 146, a persistent storage 148, VM152, VM 154, virtual switch 156, and a network adapter 158. Persistentstorage 148 contains mdest software 150 analogous to mdest software 110.Network adapter 158 is a computer hardware component that connectsserver 142 to network 120. Network adapter 158 allows server 142 tocommunicate with network controller 122, server 102, and server 124.Network adapter 158 also includes offload capabilities which allownetwork adapter 158 to maintain maps of multi-destination groups andTEPs, provides application program interfaces (APIs) to manipulate suchmaps, and handles head-end-replication for multi-destination packetsbased on offload instructions provided by a software based data path.Network adapter 158 also enables VM 152 to communicate with VM 112 andVM 134 through virtual switch 156, virtual switch 116, and virtualswitch 138 using an overlay virtual network on network 120. Networkadapter 158 also enables VM 154 to communicate with VM 114 and VM 136through virtual switch 156, virtual switch 116, and virtual switch 138using a separate overlay virtual network on network 120.

In example embodiment of FIG. 1, server 142 serves as themulti-destination sender for a multi-destination group referred to as“MDG-1” hosted on virtual switch 156 and handles network data for VM112, VM 134, VM 152, virtual switch 138, and virtual switch 116. Server142 also serves as the multi-destination sender for a multi-destinationgroup referred to as “MDG-2” (not shown) hosted on virtual switch 156and handles network data for VM 114, VM 136, VM 154, virtual switch 138,and virtual switch 116. In other embodiments, multi-destination groupsmay be hosted on one or more virtual switches in multi-destinationpacket processing environment 100.

FIG. 2 is a functional block diagram illustrating a network adapter inan embodiment in accordance with the present invention. Network adapter200 is an embodiment of each of network adapters 118, 140, and 158 andcontains processor 202, memory 204, peripheral component interconnect(PCI) interface 206, medium access control 208, and multi-destinationapplication program interface (APIs) 210. It should be appreciated thatFIG. 2 provides only an illustration of one implementation and does notimply any limitations with regard to the environments in which differentembodiments may be implemented. Many modifications to the depictedenvironment may be made. In one embodiment, multi-destination APIs 210may reside in memory 204 or in a separate read-only memory (ROM),erasable programmable read-only memory (EPROM), or flash memory. Inanother embodiment, multi-destination APIs 210 may reside on a hostserver and may be downloaded to network adapter 118.

Multi-destination APIs 210 enable network adapter 200 to create andstore multi-destination group lists based on the multi-destination groupreceivers list hosted by a multi-destination sender, e.g., virtualswitch 156. Offloading multi-destination operations from a virtualswitch, e.g., virtual switch 156, to network adapter 200 provides asignificant reduction in host CPU utilization for multi-destinationpacket processing operations. Another advantage of offloadingmulti-destination operations to network adapter 200 is improved packetsend latencies because processing is done at the hardware level.Offloading multi-destination operations to network adapter 200 alsosolves scalability issues with growing multi-destination groupmembership lists. Scalability is an ability of a system, network, orprocess to handle a growing amount of work in a capable manner or itsability to be enlarged to accommodate that growth. Forsoftware-implemented packet replication and head-end replication foreach multi-destination group member, when the multi-destination groupmember list increases, checksum calculations must be performed for eachpacket being transmitted, putting a high load on the host CPU that growsas the multi-destination group membership list grows. With theseoperations offloaded to network adapter 200, CPUs, such as CPUs 106,128, and 146 are able to provide more processing cycles to other tasks.

FIG. 3 is a flowchart, generally designated 300, depicting operationalsteps of adding and removing virtual switches to a multi-destinationgroup receiver list within the multi-destination packet processingenvironment of FIG. 1, in an embodiment in accordance with the presentinvention. In this example embodiment, virtual switch 156 on server 142is the multi-destination sender for MDG-1. Network controller 122 sendsa request to virtual switch 156 to add virtual switch 116 to an MDG-1receiver's list on network adapter 158 as depicted in step 302. TheMDG-1 receiver's list may be stored in memory 204 of network adapter158. In step 304, in response to receiving the request, virtual switch156 calls one or more of multi-destination APIs 210 of network adapter158 to update MDG-1 by adding virtual switch 116 to the MDG-1 receiver'slist on network adapter 158. In response to receiving the call to theone or more of multi-destination APIs 210 of network adapter 158,network adapter 158 updates MDG-1 by adding virtual switch 116 to theMDG-1 receiver's list on network adapter 158.

Network controller 122 sends a request to virtual switch 156 to addvirtual switch 138 to the MDG-1 receiver's list on virtual switch 156 asdepicted in step 306. In step 308, in response to receiving the request,virtual switch 156 calls one or more of multi-destination APIs 210 ofnetwork adapter 158 to update MDG-1 by adding virtual switch 138 to theMDG-1 receiver's list on network adapter 158. In response to receivingthe call to the one or more of multi-destination APIs 210 of networkadapter 158, network adapter 158 updates MDG-1 by adding virtual switch138 to the MDG-1 receiver's list on network adapter 158.

A virtual switch is removed from the multi-destination group in asimilar manner. In step 310, network controller 122 sends a request tovirtual switch 156 to delete virtual switch 116 from the MDG-1receiver's list. In step 312, in response to receiving the request,virtual switch 156 calls one or more of multi-destination APIs 210 ofnetwork adapter 158 to update MDG-1 by deleting virtual switch 116 fromthe MDG-1 receiver's list on network adapter 158. In response toreceiving the call to the one or more of multi-destination APIs 210 ofnetwork adapter 158, network adapter 158 updates MDG-1 by deletingvirtual switch 116 from the MDG-1 receiver's list on network adapter158.

Network controller 122 sends another request to add virtual switch 116to the MDG-1 receiver's list on network adapter 158 as depicted in step314. In step 316, in response to receiving the request, virtual switch156 calls one or more of multi-destination APIs 210 of network adapter158 to update MDG-1 by adding virtual 116 to the MDG-1 receiver's liston network adapter 158. In response to receiving the call to the one ormore of multi-destination APIs 210 of network adapter 158, networkadapter 158 updates MDG-1 by adding virtual switch 116 to the MDG-1receiver's list on network adapter 158. Maintaining multi-destinationgroup lists, such as the MDG-1 receiver's list, in network adapter 158provides the ability to scale the lists seamlessly withinmulti-destination packet processing environment 100.

FIG. 4 is a flowchart, generally designated 400, depicting operationalsteps for transmitting a multi-destination packet to a multi-destinationgroup within the multi-destination packet processing environment of FIG.1, in an embodiment in accordance with the present invention. In step402, server 142 transmits a multi-destination packet for MDG-1 tovirtual switch 156. In one embodiment, the multi-destination packet mayoriginate from virtual machine 152 or virtual machine 154. In anotherembodiment, the multi-destination packet may originate from mdestsoftware 150 stored in persistent storage 148. Virtual switch 156 callsone or more of multi-destination APIs 210 of network adapter 158 fornetwork adapter 158 to transmit the multi-destination packet to thevirtual switches in the MDG-1 receiver's list as depicted in step 404.In step 406, in response to receiving the call to the one or more ofmulti-destination APIs 210 of network adapter 158 for network adapter158 to transmit the multi-destination packet to the virtual switches inthe MDG-1 receiver's list, network adapter 158 performs a head endreplication process for the multi-destination packet by creating areplica of the packet for each virtual switch in the MDG-1 receiver'slist. For each virtual switch in the MDG-1 receiver's list, networkadapter 158 obtains the virtual switch tunneling endpoint information.The tunneling endpoint information may contain the required tunnelingprotocol for the destination virtual switch and the virtual local areanetwork (VLAN) port group. The VLAN port group is configured during theinitial VLAN configuration process by an administrator. The VLAN portgroup includes physical network interface cards (NICs), VLAN informationand teaming policy. These port groups dictate how VLAN traffic iscarried in and out of the host TEP through the physical NICs. Networkadapter 158 encapsulates the replicated multi-destination packet for thedestination virtual switch with tunneling protocol specific headers. Incomputer networking, encapsulation is a method of designing modularcommunication protocols in which logically separate functions in thenetwork are abstracted from their underlying structures by inclusion orinformation hiding within higher level objects. A tunneling protocolallows a network user to access or provide a network service that theunderlying network does not support or provide directly. One importantuse of a tunneling protocol is to allow a foreign protocol to run over anetwork that does not support that particular protocol, e.g., runningIPv6 over IPv4.

Network adapter 158 transmits each encapsulated packet to itsdestination MDG-1 receivers in the MDG-1 receiver's list. In step 408,network adapter 158 sends a first encapsulated packet to virtual switch116. In step 410, virtual switch 116 receives and unencapsulates thepacket, identifies the multi-destination group “MDG-1” contained in thepacket, then looks up the multi-destination group in a port list. Incomputer networking, to unencapsulate a packet is to remove thepreviously encapsulated data. A virtual switch serves as a container forport configurations that use a common set of network adapters, includingsets that contain no network adapters at all. In one embodiment, theport list may be stored in the virtual switch or on the local server.Each virtual switch provides a finite number of ports through whichvirtual machines, e.g., VM 152 and VM 154, and network services canreach one or more networks. Virtual switch 116 forwards the packet todestination port “X” on network adapter 118 on server 102 as depicted instep 412.

In step 414, network adapter 158 sends a second encapsulated packet tovirtual switch 138. In step 416, virtual switch 138 receives andunencapsulates the packet, and looks up the multi-destination group“MDG-1” in a port list. Virtual switch 138 forwards the packet todestination port “Y” on network adapter 140 on server 124 as depicted instep 418.

FIG. 5 depicts a block diagram of components of a server computer in anembodiment in accordance with the present invention. It should beappreciated that FIG. 5 provides only an illustration of oneimplementation and does not imply any limitations with regard to theenvironments in which different embodiments may be implemented. Manymodifications to the depicted environment may be made.

A server computer 500 is an embodiment of each of server computers 102,124, and 142 and includes a communications fabric 502, which providescommunications between a computer processor(s) 504, a memory 506, apersistent storage 508, a communications unit 510, and an input/output(I/O) interface(s) 512. Communications fabric 502 can be implementedwith any architecture designed for passing data and/or controlinformation between processors (such as microprocessors, communicationsand network processors, etc.), system memory, peripheral devices, andany other hardware components within a system. For example,communications fabric 502 can be implemented with one or more buses.

Memory 506 and persistent storage 508 are computer readable storagemedia. In this embodiment, memory 506 includes random access memory(RAM) 514 and cache memory 516. In general, memory 506 can include anysuitable volatile or non-volatile computer readable storage media.

Multi-destination software 524, which is analogous to each ofmulti-destination software 110, 132, and 150, is stored in persistentstorage 508 for execution by one or more of the respective computerprocessors 504 via one or more memories of memory 506. In thisembodiment, persistent storage 508 includes a magnetic hard disk drive.Alternatively, or in addition to a magnetic hard disk drive, persistentstorage 508 can include a solid state hard drive, a semiconductorstorage device, read-only memory (ROM), erasable programmable read-onlymemory (EPROM), flash memory, or any other computer readable storagemedia that is capable of storing program instructions or digitalinformation.

The media used by persistent storage 508 may also be removable. Forexample, a removable hard drive may be used for persistent storage 508.Other examples include optical and magnetic disks, thumb drives, andsmart cards that are inserted into a drive for transfer onto anothercomputer readable storage medium that is also part of persistent storage508.

Communications unit 510, in these examples, provides for communicationswith other data processing systems or devices, including resources ofnetwork 120 such as network controller 122. In these examples,communications unit 510 includes one or more network interface cards.Communications unit 510 may provide communications through the use ofeither or both physical and wireless communications links.Multi-destination software 524 may be downloaded to persistent storage508 through communications unit 510.

I/O interface(s) 512 allows for input and output of data with otherdevices that may be connected to server 102. For example, I/O interface512 may provide a connection to external devices 518 such as a keyboard,keypad, a touch screen, and/or some other suitable input device.External devices 518 can also include portable computer readable storagemedia such as, for example, thumb drives, portable optical or magneticdisks, and memory cards. Software and data used to practice embodimentsof the present invention, e.g., multi-destination software 524, can bestored on such portable computer readable storage media and can beloaded onto persistent storage 508 via I/O interface(s) 512. I/Ointerface(s) 512 also connect to a display 520. Display 520 provides amechanism to display data to a user and may be, for example, a computermonitor.

The programs described herein are identified based upon the applicationfor which they are implemented in a specific embodiment of theinvention. However, it should be appreciated that any particular programnomenclature herein is used merely for convenience, and thus theinvention should not be limited to use solely in any specificapplication identified and/or implied by such nomenclature.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++ or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

What is claimed is:
 1. A method comprising: obtaining, by one or moreprocessors of a hardware network adapter, tunneling endpoint informationfor each virtual switch of a plurality of virtual switches of amulti-destination group; encapsulating, by one or more processors of thenetwork adapter, each of a plurality of replicated multi-destinationpackets corresponding to respective virtual switches of the plurality ofvirtual switches with a header specific to a respective tunnelingprotocol identified in the tunneling endpoint information obtained forthe respective virtual switch; and transmitting, by one or moreprocessors of the network adapter, each encapsulated multi-destinationpacket to a respective receiver hosted on the respective virtual switchcorresponding to the encapsulated multi-destination packet, wherein therespective virtual switch determines a destination port for theencapsulated multi-destination packet on the respective virtual switchby identifying the multi-destination group, determined from theencapsulated multi-destination packet, in a port list on the respectivevirtual switch.
 2. The method of claim 1, further comprising: receiving,by one or more processors on the network adapter, a request from a firstvirtual switch; unencapsulating, by one or more processors, the requestfrom the first virtual switch; determining, by one or more processors, amulti-destination group operation based, at least in part, on theunencapsulated request; and performing, by one or more processors, themulti-destination group operation.
 3. The method of claim 2, wherein:the request from the first virtual switch is a request to add a secondvirtual switch to the multi-destination group; and the determinedmulti-destination group operation includes storing an identifier of thesecond virtual switch in a multi-destination receivers list identifyingthe multi-destination group.
 4. The method of claim 2, wherein: therequest from the first virtual switch is a request to delete a secondvirtual switch from the multi-destination group; and the determinedmulti-destination group operation includes removing a stored identifierof the second virtual switch from a multi-destination receivers listidentifying the multi-destination group.
 5. The method of claim 1,wherein obtaining, by one or more processors of the hardware networkadapter, tunneling endpoint information for each virtual switch of theplurality of virtual switches of the multi-destination group comprises:retrieving, by one or more processors on the hardware network adapter,the tunneling endpoint information for each identified virtual switch inthe multi-destination group from a network controller.
 6. The method ofclaim 1, wherein the hardware network adapter is a hardware componentthat connects a computer to the network and allows the computer tocommunicate with other computing devices of the network.
 7. A computerprogram product comprising: one or more computer readable storage mediaand program instructions stored on the one or more computer readablestorage media, wherein the one or more computer readable storage mediaare not transitory signals per se, the program instructions comprising:program instructions to obtain, by the network adapter, tunnelingendpoint information for each virtual switch of a plurality of virtualswitches of a multi-destination group; program instructions toencapsulate, by the network adapter, each of a plurality of replicatedmulti-destination packets corresponding to respective virtual switchesof the plurality of virtual switches with a header specific to arespective tunneling protocol identified in the tunneling endpointinformation obtained for the respective virtual switch; and programinstructions to transmit, by the network adapter, each encapsulatedmulti-destination packet to a respective receiver hosted on therespective virtual switch corresponding to the encapsulatedmulti-destination packet, wherein the respective virtual switchdetermines a destination port for the encapsulated multi-destinationpacket on the respective virtual switch by identifying themulti-destination group, determined from the encapsulatedmulti-destination packet, in a port list on the respective virtualswitch.
 8. The computer program product of claim 7, further comprising:program instructions to receive, by the network adapter, a request froma first virtual switch; program instructions to unencapsulate, by thenetwork adapter, the request from the first virtual switch; programinstructions to determine, by the network adapter, a multi-destinationgroup operation based, at least in part, on the unencapsulated request;and program instructions to perform, by the network adapter, themulti-destination group operation.
 9. The computer program product ofclaim 8, wherein: the request from the first virtual switch is a requestto add a second virtual switch to the multi-destination group; and thedetermined multi-destination group operation includes storing anidentifier of the second virtual switch in a multi-destination receiverslist identifying the multi-destination group.
 10. The computer programproduct of claim 8, wherein: the request from the first virtual switchis a request to delete a second virtual switch from themulti-destination group; and the determined multi-destination groupoperation includes the network adapter removing a stored identifier ofthe second virtual switch from a multi-destination receivers listidentifying the multi-destination group.
 11. The computer programproduct of claim 7, wherein the program instructions to obtain, by thehardware network adapter, tunneling endpoint information for eachvirtual switch of the plurality of virtual switches of themulti-destination group comprise: program instructions to retrieve, bythe hardware network adapter, the tunneling endpoint information foreach identified virtual switch in the multi-destination group from anetwork controller.
 12. The computer program product of claim 7, whereinthe hardware network adapter is a hardware component that connects acomputer to the network and allows the computer to communicate withother computing devices of the network.
 13. A network adapter comprisinga processor, a memory, and program instructions stored in the memory forexecution by the processor to implement a method comprising: the networkadapter obtaining tunneling endpoint information for each virtual switchof a plurality of virtual switches of a multi-destination group; thenetwork adapter encapsulating each of a plurality of replicatedmulti-destination packets corresponding to respective virtual switchesof the plurality of virtual switches with a header specific to arespective tunneling protocol identified in the tunneling endpointinformation obtained for the respective virtual switch; and the networkadapter transmitting each encapsulated multi-destination packet to arespective receiver hosted on the respective virtual switchcorresponding to the encapsulated multi-destination packet, wherein therespective virtual switch determines a destination port for theencapsulated multi-destination packet on the respective virtual switchby identifying the multi-destination group, determined from theencapsulated multi-destination packet, in a port list on the respectivevirtual switch.
 14. The network adapter of claim 13, the method furthercomprising: the network adapter receiving a request from a first virtualswitch; the network adapter unencapsulating the request from the firstvirtual switch; the network adapter determining a multi-destinationgroup operation based, at least in part, on the unencapsulated request;and the network adapter performing the multi-destination groupoperation.
 15. The network adapter of claim 14, wherein: the requestfrom the first virtual switch is a request to add a second virtualswitch to the multi-destination group; and the determinedmulti-destination group operation includes storing an identifier of thesecond virtual switch in a multi-destination receivers list identifyingthe multi-destination group.
 16. The network adapter of claim 14,wherein: the request from the first virtual switch is a request todelete a second virtual switch from the multi-destination group; and thedetermined multi-destination group operation includes removing a storedidentifier of the second virtual switch from a multi-destinationreceivers list identifying the multi-destination group.
 17. The networkadapter of claim 13, wherein the network adapter obtaining tunnelingendpoint information for each virtual switch of a plurality of virtualswitches of a multi-destination group comprises: the network adapterretrieving the tunneling endpoint information for each identifiedvirtual switch in the multi-destination group from a network controller.18. The network adapter of claim 13, wherein the hardware networkadapter is a hardware component that connects a computer to the networkand allows the computer to communicate with other computing devices ofthe network and the overlay network.